package net.adetech.cjg.innerservice.mapper;


import net.adetech.cjg.innerservice.entity.Zd;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ZdDao {

    @Select("select * from CJG_ZD")
    List<Zd> getAllZdList();


    @Select("select * from CJG_ZD where zdip = #{zdip}")
    Zd getZdByIp(@Param("zdip")String zdip);
}
